package com.starblink.imgsearch.barcoderesult.data

import com.starblink.android.basic.data.model.product.IProductFWrap
import com.starblink.rocketreserver.fragment.ProductF

/**列表项:商品*/
class RvProductEntry(
    var position: Int = -1,
    val product: ProductF,
    val isStandardProduct: Boolean = false,  // true标品商品,false推荐商品
) : IProductFWrap {
    override val index: Int
        get() = position

    override val productF: ProductF
        get() = product

    override val trackBizId: String
        get() = "${hashCode()}"
}